<?php
/**
 * Enter description here...
 *
 */
define('G_OUTPUT_REQUEST_AUTH_KEY', 1);
define('G_BIN_CHECK_INCLUDE', 1);
include "common.inc.php";

$tpl = Bin::getView(isset($_G_INPUT_['___html__']) ? "index.tpl_bak.html" : 'index.tpl.html');


$act_obj = Bin::singtolen('act_class', 'Act');
$list = $act_obj->get_recent_list($get_detail = false, $get_count = false, $act_type_id = null, $channel_id = null, $is_checked = null, $where = null, $order_by = 'act_add_time DESC', $limit = '0,120', $act_item_img_size = array("c"=>array(200)));

foreach($list as &$val)
{
	$tmp = Bin::execute('img_manage_class.get_img_size_url', $val['act_item_img']);
	$val['act_item_img'] = $tmp['c-200'];
}
unset($val);
$tpl->assign('list', $list);


$tpl->output();
?>